package com.xesj.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import com.xesj.model.Page;
import com.xesj.model.User;
import com.xesj.util.PageData;

public interface UserMapper {
	//查询会员
	User selectUserById(PageData pd);
	//插入会员信息
	int insertUserInfo(User user);
	//插入会员帐号
	int insertUser(User user);
	//会员列表查询
	ArrayList<User> selectMemberList(Page page);
	
	User getByUsername(String loginName);
	
	List<String> getRolesListByName(String loginName);
	
	List<String> getPermissionsListByName(String loginName);
	
	int updateMember(PageData pd);

	

	

}
